package com.qfedu.microuser;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

// 默认扫描启动类所在的包及其子包的注解
@MapperScan("com.qfedu.**.mapper")
// @SpringBootApplication(scanBasePackages = "com.qfedu")
@SpringBootApplication
@ComponentScan("com.qfedu")
@EnableFeignClients(basePackages = "com.qfedu.api")
public class MicroUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroUserApplication.class, args);
    }

}
